{template header}

<style>
	.content a{
		color:black;
		font-weight:normal;
	}
	.content{
		color:#343434;font-size:14px;
	}

</style>
<div class="container">
<div class="row">
<div class="col-md-8">
	{template menu}



	<div class="bbox bbox-nbt" id="info">

			<ul class="nav nav-pills" style="padding: 10px">
				{if isMobile()}
				<li>
					<select onchange="jumpto(this.options[this.options.selectedIndex].value)" name="typeid" id="typeid" class="form-control">
						<option value="{tsUrl('user','duty',array('id'=>$strUser['userid']))}" >服务</option>
						<option value="{tsUrl('user','event',array('id'=>$strUser['userid']))}" >活动</option>
						<option value="{tsUrl('user','article',array('id'=>$strUser['userid']))}" >文档</option>
						<option value="{tsUrl('user','wish',array('id'=>$strUser['userid']))}" >心愿</option>
						<option value="{tsUrl('user','gift',array('id'=>$strUser['userid']))}" >义卖</option>
						<option value="{tsUrl('user','weibo',array('id'=>$strUser['userid']))}" selected>动态</option>
						{if $GLOBALS['TS_USER']['isadmin']=='1'}
						<option value="{tsUrl('user','comment',array('id'=>$strUser['userid']))}" >备注</option>
						{/if}

					</select>
				</li>
				{else}

				<li role="presentation"><a href="{tsUrl('user','duty',array('id'=>$strUser['userid']))}">服务</a></li>
				<li role="presentation"><a href="{tsUrl('user','event',array('id'=>$strUser['userid']))}">活动</a></li>
				<li role="presentation"><a href="{tsUrl('user','article',array('id'=>$strUser['userid']))}">文档</a></li>
				<li role="presentation"><a href="{tsUrl('user','wish',array('id'=>$strUser['userid']))}">心愿</a></li>
				<li role="presentation"><a href="{tsUrl('user','gift',array('id'=>$strUser['userid']))}">义卖</a></li>
				<li role="presentation" class="active"><a href="{tsUrl('user','weibo',array('id'=>$strUser['userid']))}">动态</a></li>
				{if $GLOBALS['TS_USER']['isadmin']=='1'}
				<li role="presentation"><a href="{tsUrl('user','comment',array('id'=>$strUser['userid']))}" style="color: green">备注</a></li>
				{/if}


				{/if}
			</ul>


			<div class="bc">
        <div class="panel-body">
			<div>
				<ul>
					{loop $arrWeibo $key $item}
					<li style="padding-top: 15px;padding-bottom: 15px;border-bottom: 1px dashed #999999;">
						<ul style="display: flex">
							<li class="portrait" style="padding-right: 10px"><a href="{tsUrl('user','duty',array('id'=>$item['user']['userid']))}"><img align="absmiddle" style="width:30px" class="SmallPortrait img-rounded" title="{$item['user']['username']}" alt="{$item['user']['username']}" src="{$item['user']['face']}"></a></li>
							<li class="body">
								<div class="content"><a href="{tsUrl('user','duty',array('id'=>$item['user']['userid']))}">{$item['user']['username']}</a>{$item['content']}</div>

								<div style="overflow: hidden;font-size:12px;color:#999999;">{php echo getTime(strtotime($item['addtime']),time())}
								</div>
							</li>
						</ul>

					</li>
					{/loop}
				</ul>
			</div>

<div class="page">{$pageUrl}</div>
<div>

</div>

</div>
</div>


</div>


<div class="col-md-4">


    <!--广告位-->
    {php doAction('gobad','300')}



</div>


</div>
</div>		
{template footer}